import numpy as np
import pandas as pd
from pyecharts import Bar
import sqlite3

if __name__ == '__main__':
    db_name = '../db.sqlite3'
else:
    db_name = 'db.sqlite3'
class UsersAna:
    def __init__(self):
        self.conn = sqlite3.connect(db_name)
        self.df = pd.read_sql('SELECT * FROM users_csv', self.conn)
